package test
{
	import display.TalkPanel;
	import display.scenes.TalkScene;
	
	import flash.display.Sprite;
	
	import globals.$rootScene;
	
	import globals.$athena;
	
	import slices.FunctionSlice;
	import timeslice.LoadEmbedFont;
	
	[SWF(width="1280", height="720")]
	
	public class TalkPanelTest extends Sprite
	{
		public function TalkPanelTest()
		{
			super();
			$rootScene = this;
			$athena.start(stage);
			var loadFont:LoadEmbedFont = new LoadEmbedFont;
			loadFont.appendNext(new FunctionSlice(onFontLoad));
			$athena.addTimeSlice(loadFont);
		}
		
		public function onFontLoad():void {
			var talk:TalkScene = new TalkScene(1280, 720);
			addChild(talk);
		}
	}
}